import { IDateLineChart, IDatePieChart } from "@/types/echart"
import { IBase } from "../base"

export interface ISale extends Omit<IBase,"num">{
    saleNum:string,
}

export interface ISaleFull{
    sale:Partial<ISale>
    saleMoney:Partial<ISale>
    pieLeftChart:Partial<IDatePieChart>
    pieRightChart:Partial<IDatePieChart>
    lineChart:Partial<IDateLineChart>
    chinaChart: Partial<IDateLineChart>
}
export type PieChartData=Array<Array<{name:string,value:number}>>
export interface IPieChart{
    datas?:PieChartData,
    title?:string
}
export interface ChartData {column:[],dataReal:[],dataValue:[]}
export interface IChartData{
    datas?:ChartData,
    title?:string
}
